|
LinuxQMISDK-Lite
SLQS04.00.24
|
Go to the source code of this file.
Data Structures | |
| struct | swi_uint256_t |
Macros | |
| #define | SWI_UINT256_WORD_COUNT 16 |
| #define | SWI_UINT256_BITS_PER_WORD 16 |
| #define | SWI_UINT256_WORD_OFFSET(val) ((val) / SWI_UINT256_BITS_PER_WORD) |
| #define | SWI_UINT256_BIT_OFFSET(val) ((val) % SWI_UINT256_BITS_PER_WORD) |
| #define | SWI_UINT256_INT_VALUE {{0}} |
Typedefs | |
| typedef void(* | logger )(uint8_t lvl, const char *buff) |
Functions | |
| void | swi_uint256_set_bit (swi_uint256_t *pMask, uint8_t bit) |
| void | swi_uint256_clear_bit (swi_uint256_t *pMask, uint8_t bit) |
| uint8_t | swi_uint256_get_bit (swi_uint256_t Mask, uint8_t bit) |
| void | swi_uint256_print_mask (swi_uint256_t mask) |
| #define SWI_UINT256_BIT_OFFSET | ( | val | ) | ((val) % SWI_UINT256_BITS_PER_WORD) |
| #define SWI_UINT256_BITS_PER_WORD 16 |
| #define SWI_UINT256_INT_VALUE {{0}} |
| #define SWI_UINT256_WORD_COUNT 16 |
| #define SWI_UINT256_WORD_OFFSET | ( | val | ) | ((val) / SWI_UINT256_BITS_PER_WORD) |
| typedef void(* logger)(uint8_t lvl, const char *buff) |
| void swi_uint256_clear_bit | ( | swi_uint256_t * | pMask, |
| uint8_t | bit | ||
| ) |
Clear relevant bit in provided mask
| [in] | pMask | Pointer to bitmask |
| [in] | bit | Bit to clear |
| uint8_t swi_uint256_get_bit | ( | swi_uint256_t | Mask, |
| uint8_t | bit | ||
| ) |
Get relevant bit from provided mask
| [in] | Mask | Bit mask |
| [in] | bit | Bit to extract |
| void swi_uint256_print_mask | ( | swi_uint256_t | mask | ) |
Print the log mask to syslog. Use only for debugging
| [in] | mask | Bit mask |
| void swi_uint256_set_bit | ( | swi_uint256_t * | pMask, |
| uint8_t | bit | ||
| ) |
Set relevant bit in provided mask
| [in] | pMask | Pointer to bit mask |
| [in] | bit | Bit to set |